package com.ruoyi.netty.domain;

import lombok.Data;

/**
 * 消息协议
 *
 * @author zhoujun
 */
public class MsgAgreement {
    /**
     * 发送至toUserId
     */
    private String toUserId;
    /**
     * 消息内容
     */
    private String content;

    //1消息发送 2获取用户列表
    private Integer messageType;

    private String token;

    private String userId;

    public String getToUserId() {
        return toUserId;
    }

    public void setToUserId(String toUserId) {
        this.toUserId = toUserId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getMessageType() {
        return messageType;
    }

    public void setMessageType(Integer messageType) {
        this.messageType = messageType;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
}
